<!DOCTYPE html>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
	<title>index页面</title>
	<style type="text/css">
	* {
		padding: 0;
		margin: 0;
	}
    </style>
</head>
<body>
	<div class="container">
		<header>
			<h1>index页面</h1>
		</header>
		<main>
			<a target="qq" href="http://doc.houdunren.com" id="a1"   title="文档库">后盾人文档库</a>
			<a target="qq" href="#" id="a2">张三</a>
			<a target="qq" href="index.js" id="a3">index.js</a>
			<br>
			<button id="btn1">开启新窗口</button>
		</main>
	</div>
	<script src="https://cdn.staticfile.org/jquery/3.2.0/jquery.js"></script>
	<script src="index.js"></script>
	<script type="text/javascript">
		window.open('http://baidu.com', 'baidu')
		btn1.onclick = function() {
			window.open('http://qq.com', 'qq')
		}
	</script>
</body>
</html>